package com.lyz.monitor;

import java.util.concurrent.atomic.AtomicReference;



/**
 * 发短信接口
 * @author luyongzhao
 *
 */
public class ShortMessage {


	
	private static AtomicReference<ShortMessage> instance = new AtomicReference<ShortMessage>();
	
	
	private ShortMessage(){

	}
	
	public static ShortMessage getInstance(){
		
		if(instance.get() == null){
			instance.compareAndSet(null, new ShortMessage());
		}
		
		return instance.get();
	}
	/**
	 * 发送短信，未实现
	 * @param phoneNum
	 * @param content
	 * @return
	 */
	public boolean sendShortMessage(String phoneNum, String content){
		
		return true;
	}
	
	
}
